﻿@model ECG.Common.CampaignCustomerDto
@{
    ViewBag.Title = "Khuyến mại nhân dịp 20-11";
    Layout = "~/Views/Shared/_LayoutHideCate.cshtml";
}
<link href="~/Content/Campaign/20-11/css/campaign.css" rel="stylesheet" />
<div class="camp-content">
    <div class="camp-register">
        @using (Html.BeginForm("Index", "Campaign", FormMethod.Post))
        {
            <div class="camp-form fl-r">
                <div class="camp-error-summary">
                    @Html.ValidationMessage("ErrorSummary")
                </div>
                <div class="camp-form-row">
                    <div>
                        <div class="camp-label fl-l">Họ tên</div>
                        @Html.TextBoxFor(m => m.Name)
                        <div class="clr"></div>
                    </div>
                    <div class="camp-error">@Html.ValidationMessageFor(m => m.Name)</div>
                </div>

                <div class="camp-form-row">
                    <div>
                        <div class="camp-label fl-l">Email</div>
                        @Html.TextBoxFor(m => m.Email)
                        <div class="clr"></div>
                    </div>
                    <div class="camp-error">@Html.ValidationMessageFor(m => m.Email)</div>
                </div>

                <div class="camp-form-row">
                    <div>
                        <div class="camp-label fl-l">Điện thoại</div>
                        @Html.TextBoxFor(m => m.MobilePhone)
                        <div class="clr"></div>
                    </div>
                    <div class="camp-error">@Html.ValidationMessageFor(m => m.MobilePhone)</div>
                </div>

                <div class="camp-form-row">
                    <div>
                        <div class="camp-label fl-l">Đia chỉ</div>
                        @Html.TextBoxFor(m => m.Address)
                        <div class="clr"></div>
                    </div>
                    <div class="camp-error">@Html.ValidationMessageFor(m => m.Address)</div>
                </div>

                <div class="camp-form-row">
                    <input type="submit" value="Đăng kí" class="btn-submit-camp" />
                </div>

            </div>
        }
        <div class="clr"></div>
    </div>

    <div class="camp-promotion">
        @Html.Action("ProductPromotionList")
    </div>
</div>

@section scripts
{
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
}
